<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>京东首页</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="shortcut icon" type="image/ico" href="favicon.ico" />
</head>

<body class="index" id="top">
    <!-- 顶部导航start -->
    <div class="shortcut">
        <div class="w">
            <div class="fl">
                <div class="mycity">
                    <div class="dt">
                        送至：北京
                        <i>
                            <s>◇</s>
                        </i>
                    </div>
                </div>
            </div>
            <ul class="fr">
                <li>
                    <a href="#">你好，请登录</a>
                    &nbsp;&nbsp;
                    <a href="#" class="style-red">免费注册</a>
                </li>
                <li class="spacer"></li>
                <li>我的订单</li>
                <li class="spacer"></li>
                <li>
                    <div class="dt">
                        我的京东
                        <i>
                            <s>◇</s>
                        </i>
                    </div>
                </li>
                <li class="spacer"></li>
                <li>京东会员</li>
                <li class="spacer"></li>
                <li>
                    <div class="dt">
                        企业采购
                        <i>
                            <s>◇</s>
                        </i>
                    </div>
                </li>
                <li class="spacer"></li>
                <li>
                    <div class="dt">
                        客户服务
                        <i>
                            <s>◇</s>
                        </i>
                    </div>
                </li>
                <li class="spacer"></li>
                <li>
                    <div class="dt">
                        网站导航
                        <i>
                            <s>◇</s>
                        </i>
                    </div>
                </li>
                <li class="spacer"></li>
                <li>
                    手机京东
                    <div class="mobile_static">
                        <div class="mobile_static_qrcode"></div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <!-- 顶部导航end -->

    <!-- 顶部banner start -->
    <!-- <div class="top-banner">
        <div>
            <a href="#">
                <img src="./images/topbanner.jpg">
            </a>
            <a href="#" class="close-banner"></a>
        </div>
    </div> -->
    <!-- 顶部banner end -->

    <!-- 搜索框部分start -->
    <div class="header">
        <div class="w">
            <a href="https://www.jd.com" class="logo" title="京东" target="_blank">京东官网</a>
            <div class="search">
                <input type="text" placeholder="笔记本电脑">
                <span></span>
                <button>搜索</button>
            </div>
            <div class="shopping-cart">
                <i class="cart"></i>
                <a href="#">我的购物车</a>
                <i class="cart-count">5</i>
            </div>
            <div class="hotwords">
                <a href="#" class="style-red">平衡轮首发</a>
                <a href="#">0元试用</a>
                <a href="#">红魔</a>
                <a href="#">每150-50</a>
                <a href="#">奶爸圣典</a>
                <a href="#">百元空调</a>
                <a href="#">凉鞋清仓</a>
                <a href="#">满99-50</a>
                <a href="#">卫浴1元</a>
            </div>
            <div class="navitems">
                <ul>
                    <li>
                        <a href="#">秒杀</a>
                    </li>
                    <li>
                        <a href="#">优惠券</a>
                    </li>
                    <li>
                        <a href="#">PLUS会员</a>
                    </li>
                    <li>
                        <a href="#">闪购</a>
                    </li>
                </ul>
                <div class="spacer"></div>
                <ul>
                    <li>
                        <a href="#">拍卖</a>
                    </li>
                    <li>
                        <a href="#">京东服饰</a>
                    </li>
                    <li>
                        <a href="#">京东超市</a>
                    </li>
                    <li>
                        <a href="#">生鲜</a>
                    </li>
                </ul>
                <div class="spacer"></div>
                <ul>
                    <li>
                        <a href="#">全球购</a>
                    </li>
                    <li>
                        <a href="#">京东金融</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- 搜索框部分end -->

    <!-- 展示栏start -->
    <div class="main w">
        <div class="main-nav fl">
            <ul>
                <li>
                    <a href="#">家用电器</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">电脑</a> /
                    <a href="#">办公</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">家具</a> /
                    <a href="#">家装</a> /
                    <a href="#">家居</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">机票</a> /
                    <a href="#">酒店</a> /
                    <a href="#">旅游</a> /
                    <a href="#">生活</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">艺术</a> /
                    <a href="#">礼品鲜花</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">手机</a> /
                    <a href="#">运营商</a> /
                    <a href="#">数码</a>
                </li>
                <li>
                    <a href="#">安装</a> /
                    <a href="#">维修</a> /
                    <a href="#">清洗保养</a>
                </li>
            </ul>
        </div>
        <div class="slider-list fl">
            <a href="#">
                <img src="./images/1.jpg">
            </a>
            <button class="slider-control last">&lt;</button>
            <button class="slider-control next">&gt;</button>
            <!-- 图片index -->
            <div class="img-index">
                <i></i>
                <i></i>
                <i class="active"></i>
                <i></i>
                <i></i>
                <i></i>
                <i></i>
                <i></i>
            </div>
            <i class="focus-item">广告</i>
        </div>
        <div class="fl display-img">
            <ul>
                <li>
                    <a href="#">
                        <img src="./images/2.jpg">
                    </a>
                </li>
                <li>
                    <a href="#">
                        <img src="./images/3.jpg">
                    </a>
                </li>
                <li>
                    <a href="#">
                        <img src="./images/4.jpg">
                    </a>
                </li>
            </ul>
        </div>
        <div class="main-other fr">
            <div class="user">
                <div class="avatar">
                    <a href="#">
                        <img src="./images/no_login.jpg">
                    </a>
                </div>
                <p class="welcome-tips">Hi~欢迎来到京东！</p>
                <p>
                    <a href="#">登录</a>
                    <a href="#">注册</a>
                </p>
                <div class="promotion">
                    <a href="#" class="new-user">新人福利</a>
                    <a href="#" class="plus-user">PLUS会员</a>
                </div>
            </div>
            <div class="news">
                <div class="news-nav">
                    <span>促销</span>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
                    <span>公告</span>
                    <a href="#" class="fr">更多</a>
                </div>
                <div>
                    <p>
                        <a href="#">京东PLUS会员权益更新及会费调整</a>
                    </p>
                    <p>
                        <a href="#">京东启用全新客服电话“950618”</a>
                    </p>
                    <p>
                        <a href="#">京东PLUS会员权益更新及会费调整</a>
                    </p>
                    <p>
                        <a href="#">京东PLUS会员权益更新及会费调整</a>
                    </p>
                </div>
            </div>
            <div class="service">
                <div>
                    <a href="#">
                        <i class="service-0"></i>
                        话费
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-1"></i>
                        机票
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-2"></i>
                        酒店
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-3"></i>
                        游戏
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-4"></i>
                        企业购
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-5"></i>
                        加油卡
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-6"></i>
                        电影票
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-7"></i>
                        火车票
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-8"></i>
                        众筹
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-9"></i>
                        理财
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-10"></i>
                        礼品卡
                    </a>
                </div>
                <div>
                    <a href="#">
                        <i class="service-11"></i>
                        白条
                    </a>
                </div>
            </div>
        </div>
    </div>
    <!-- 展示栏end -->

    <!-- 京东秒杀start -->
    <div class="seckill w clearfix">
        <div class="sk-logo fl">
            <h3 class="title">京东秒杀</h3>
            <h4 class="subtitle">FLASH DEALS</h4>
            <i class="sk-ico"></i>
            <p>本场距离结束还剩</p>
            <div class="count-down">
                <div>
                    <span>01</span>
                </div>
                <div>
                    <span>45</span>
                </div>
                <div>
                    <span>49</span>
                </div>
            </div>
        </div>
        <div class="sk-list fl">
            <ul class="clearfix">
                <a class="sk-item" href="#" title="全友（QUANU） 现代简约1.5米1.8米板式床双人床卧室家具组合106905 1.8m床+床头柜*2+床垫">
                    <li>
                        <img src="./images/1.webp">
                        <p class="item-name">全友（QUANU） 现代简约1.5米1.8米板式床双人床卧室家具组合106905 1.8m床+床头柜*2+床垫</p>
                        <div class="price">
                            <span class="price-now">￥1997.00</span>
                            <span class="price-origin">￥3299.00</span>
                        </div>
                    </li>
                </a>
                <a class="sk-item" href="#" title="尼康（Nikon）D7200单反数码照相机 套机（AF-S DX 尼克尔 18-140mm f/3.5-5.6G ED VR）">
                    <li>
                        <img src="./images/2.webp">
                        <p class="item-name">尼康（Nikon）D7200单反数码照相机 套机（AF-S DX 尼克尔 18-140mm f/3.5-5.6G ED VR）</p>
                        <div class="price">
                            <span class="price-now">￥5698.00</span>
                            <span class="price-origin">￥7899.00</span>
                        </div>
                    </li>
                </a>
                <a class="sk-item" href="#" title="武极 AMD 锐龙Ryzen5 1600/GTX1050Ti游戏台式吃鸡电脑主机DIY组装机">
                    <li>
                        <img src="./images/3.webp">
                        <p class="item-name">武极 AMD 锐龙Ryzen5 1600/GTX1050Ti游戏台式吃鸡电脑主机DIY组装机</p>
                        <div class="price">
                            <span class="price-now">￥2999.00</span>
                            <span class="price-origin">￥3699.00</span>
                        </div>
                    </li>
                </a>
                <a class="sk-item" href="#" title="苏泊尔supor砂锅·石锅·陶瓷煲·新陶养生煲4.5L·深汤煲/TB45A1">
                    <li>
                        <img src="./images/4.webp">
                        <p class="item-name">苏泊尔supor砂锅·石锅·陶瓷煲·新陶养生煲4.5L·深汤煲/TB45A1</p>
                        <div class="price">
                            <span class="price-now">￥179.00</span>
                            <span class="price-origin">￥279.00</span>
                        </div>
                    </li>
                </a>
            </ul>
            <button class="slider-control last">&lt;</button>
            <button class="slider-control next">&gt;</button>
        </div>
        <div class="sk-else fl">
            <img src="./images/5.jpg">
            <div class="slider-indicators">
                <i class="slider-indicators-active"></i>
                <i></i>
            </div>
        </div>
    </div>
    <!-- 京东秒杀end -->

    <!-- 底部内容start -->
    <footer class="footer">
        <div class="slogan">
            <div class="w">
                <ul class="clearfix">
                    <li>
                        <h5 class="slogan-1">多</h5>
                        <p>品类齐全，轻松购物</p>
                    </li>
                    <li>
                        <h5 class="slogan-2">快</h5>
                        <p>多仓直发，极速配送</p>
                    </li>
                    <li>
                        <h5 class="slogan-3">好</h5>
                        <p>正品行货，精致服务</p>
                    </li>
                    <li>
                        <h5 class="slogan-4">省</h5>
                        <p>天天低价，畅选无忧</p>
                    </li>
                </ul>
            </div>
        </div>
        <div class="help w clearfix">
            <div class="help-list">
                <h5>购物指南</h5>
                <ul>
                    <li>
                        <a href="#">购物流程</a>
                    </li>
                    <li>
                        <a href="#">会员介绍</a>
                    </li>
                    <li>
                        <a href="#">生活旅行</a>
                    </li>
                    <li>
                        <a href="#">常见问题</a>
                    </li>
                    <li>
                        <a href="#">大家电</a>
                    </li>
                    <li>
                        <a href="#">联系客服</a>
                    </li>
                </ul>
            </div>
            <div class="help-list">
                <h5>配送方式</h5>
                <ul>
                    <li>
                        <a href="#">购物流程</a>
                    </li>
                    <li>
                        <a href="#">会员介绍</a>
                    </li>
                    <li>
                        <a href="#">生活旅行</a>
                    </li>
                    <li>
                        <a href="#">常见问题</a>
                    </li>
                    <li>
                        <a href="#">大家电</a>
                    </li>
                    <li>
                        <a href="#">联系客服</a>
                    </li>
                </ul>
            </div>
            <div class="help-list">
                <h5>支付方式</h5>
                <ul>
                    <li>
                        <a href="#">购物流程</a>
                    </li>
                    <li>
                        <a href="#">会员介绍</a>
                    </li>
                    <li>
                        <a href="#">生活旅行</a>
                    </li>
                    <li>
                        <a href="#">常见问题</a>
                    </li>
                    <li>
                        <a href="#">大家电</a>
                    </li>
                    <li>
                        <a href="#">联系客服</a>
                    </li>
                </ul>
            </div>
            <div class="help-list">
                <h5>售后服务</h5>
                <ul>
                    <li>
                        <a href="#">购物流程</a>
                    </li>
                    <li>
                        <a href="#">会员介绍</a>
                    </li>
                    <li>
                        <a href="#">生活旅行</a>
                    </li>
                    <li>
                        <a href="#">常见问题</a>
                    </li>
                    <li>
                        <a href="#">大家电</a>
                    </li>
                    <li>
                        <a href="#">联系客服</a>
                    </li>
                </ul>
            </div>
            <div class="help-list">
                <h5>特色服务</h5>
                <ul>
                    <li>
                        <a href="#">购物流程</a>
                    </li>
                    <li>
                        <a href="#">会员介绍</a>
                    </li>
                    <li>
                        <a href="#">生活旅行</a>
                    </li>
                    <li>
                        <a href="#">常见问题</a>
                    </li>
                    <li>
                        <a href="#">大家电</a>
                    </li>
                    <li>
                        <a href="#">联系客服</a>
                    </li>
                </ul>
            </div>
            <div class="help-cover fr">
                <h5>京东自营覆盖区县</h5>
                <p>京东已向全国2661个区县提供自营配送服务，支持货到付款、POS机刷卡和售后上门服务。</p>
                <p class="help-cover-more">
                    <a href="#">查看详情 ></a>
                </p>
            </div>
        </div>
        <div class="copyright w">
            <p class="copyright-links">
                <a href="#">关于我们</a> |
                <a href="#">联系我们</a> |
                <a href="#">联系客服</a> |
                <a href="#">合作招商</a> |
                <a href="#">商家帮助</a> |
                <a href="#">营销中心</a> |
                <a href="#">手机京东</a> |
                <a href="#">友情链接</a> |
                <a href="#">销售联盟</a> |
                <a href="#">京东社区</a> |
                <a href="#">风险监测</a> |
                <a href="#">隐私政策</a> |
                <a href="#">京东公益</a> |
                <a href="#">English Site</a> |
                <a href="#">Media & IR</a>
            </p>
            <div class="copyright-info">
                <div class="copyright-cert">
                    <p>京公网安备 11000002000088号&nbsp;&nbsp;|&nbsp;&nbsp;京ICP证070359号&nbsp;&nbsp;|&nbsp;&nbsp;互联网药品信息服务资格证编号(京)-经营性-2014-0008&nbsp;&nbsp;|&nbsp;&nbsp;新出发京零
                        字第大120007号
                    </p>
                    <p>互联网出版许可证编号新出网证(京)字150号&nbsp;&nbsp;|&nbsp;&nbsp;出版物经营许可证&nbsp;&nbsp;|&nbsp;&nbsp;网络文化经营许可证京网文[2014]2148-348号&nbsp;&nbsp;|&nbsp;&nbsp;违法和不良信息举报电话：4006561155</p>
                    <p>Copyright &copy; 2004 - 2018 京东JD.com 版权所有&nbsp;&nbsp;|&nbsp;&nbsp;消费者维权热线：4006067733经营证照&nbsp;&nbsp;|&nbsp;&nbsp;(京)网械平台备字(2018)第00003号</p>
                </div>
                <div class="copyright-inter">
                    <a href="#">
                        <i class="copyright-inter-lk-1"></i>Global Site
                    </a> |
                    <a href="#">
                        <i class="copyright-inter-lk-2"></i>Сайт России
                    </a> |
                    <a href="#">
                        <i class="copyright-inter-lk-3"></i>Situs Indonesia
                    </a> |
                    <a href="#">
                        <i class="copyright-inter-lk-4"></i>Sitio de España
                    </a> |
                    <a href="#">
                        <i class="copyright-inter-lk-5"></i>เว็บไซต์ประเทศไทย
                    </a>
                </div>
                <div class="copyright-subsites">
                    京东旗下网站：京东钱包&nbsp;&nbsp;|&nbsp;&nbsp;京东云
                </div>
            </div>
            <div class="copyright-auth">
                <a href="#" class="copyright-auth-ico-1"></a>
                <a href="#" class="copyright-auth-ico-2"></a>
                <a href="#" class="copyright-auth-ico-3"></a>
                <a href="#" class="copyright-auth-ico-4"></a>
                <a href="#" class="copyright-auth-ico-5"></a>
                <a href="#" class="copyright-auth-ico-6"></a>
            </div>
        </div>
    </footer>
    <!-- 底部内容end -->

    <!-- 回到顶部 -->
    <a href="#top" class="back-to-top">&lt;</a>
</body>

<script>
    var i = document.querySelectorAll(".img-index i");
    i.forEach(function (element) {
        // 移除其他兄弟节点的active class
        element.addEventListener("mouseover", function () {
            var siblings = element.parentNode.childNodes;
            siblings.forEach(function (node) {
                node.classList = "";
            });

            // 给当前元素添加actice class
            element.classList.add("active");

            // todo：替换图片
        }, false);
    });
</script>

</html>